<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> 
<head>
<%@ include file="/WEB-INF/jsp/include/easyui.jsp" %>
<%@ include file="/WEB-INF/jsp/include/pForm.jsp" %>
<%@ include file="/WEB-INF/jsp/include/easyui-layui-upload.jsp" %>
<script src="/plug-in/jquery-easyui-1.5.1/plugins/jquery.choosebox.js"></script>
<title>完工验收信息填写</title>
<script>
$(function(){
	var pNo = '${param.pNo}';
	/*异步获取施工信息*/
	  $.get('/console/com.fs.jzzn.pojo.Information/json', {
		  pNo: pNo,
		  pNo_searchType: 'eq'
	  },function(data){
		  var row = data || {pNo: pNo};
		  $("#easyuiForm").form("load",row );
	  });
});
</script>
</head>
<body>
	<div class="easyui-panel" title="【当前环节: 完工验收】" data-options="fit:true,border:false" style="padding:10px;">
		<!-- 替换自动form表单 -->
		<form id="easyuiForm" method="post" action="/console/project/rewrite/action/${param.pid}">
		 <!--类名属性及默认主键id-->
		 <input type="hidden" name="className" value="com.fs.jzzn.pojo.Information" />
		 <input type="hidden" name="id" value="" />
		 <input type="hidden" name="pNo" value="${param.pNo}" />
		 <div style="margin-bottom:20px">
		  <input class="easyui-textbox easyui-validatebox" disabled="disabled" name="workUnit" style="width:240px;" data-options="label:'施工单位:',required:true,validType:'length[0,15]'" />
		  <input class="easyui-textbox easyui-validatebox" disabled="disabled"  name="workManager" style="width:240px;" data-options="label:'施工负责人:',required:true" />
		  <input class="easyui-textbox easyui-validatebox"  disabled="disabled"  name="workManagerPhone" style="width:240px;" data-options="label:'负责人电话:',required:true,validType:'length[0,45]'" />
		 </div>
		 
		  <div style="margin-bottom:20px">
		  	<input class="easyui-datebox easyui-validatebox" disabled="disabled"   name="startDate" style="width:240px;" data-options="label:'开工时间:'" />
		  	<input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="endDate" style="width:240px;" data-options="label:'完工时间:'" />
		  	<input class="easyui-textbox easyui-validatebox"  disabled="disabled"  name="checkDate" style="width:240px;" data-options="label:'验收时间:'" />
		 </div>
		 
		  <div style="margin-bottom:20px">
		  	<input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="supervisorUnit" style="width:240px;" data-options="label:'监理单位:'" />
		  	<input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="supervisorName" style="width:240px;" data-options="label:'监理人:'" />
		  	<input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="supervisorPhone" style="width:240px;" data-options="label:'监理电话:'" />
		 </div>
		 
		 <div style="margin-bottom:20px">
		 	<input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="workDays" style="width:240px;" data-options="label:'工期（天）:'" />
		 	<input class="easyui-textbox easyui-validatebox"  disabled="disabled"  name="workDesc" style="width:240px;" data-options="label:'工作量描述:'" />
		 	<input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="dataManager" style="width:240px;" data-options="label:'资料员:'" />
		 </div>
		 
		 <div style="margin-bottom:20px">
		 	<input class="easyui-textbox easyui-validatebox" name="opticCableCores" style="width:240px;" data-options="label:'实际芯数:'" />
		 	<input class="easyui-textbox easyui-validatebox" name="opticCableLength" style="width:240px;" data-options="label:'实际长度:'" />
		 	<input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="subcontract" style="width:240px;" data-options="label:'分包合同:'" />
		 </div>
		 
		 <div style="margin-bottom:20px">
		 	<select class="easyui-combobox" name="together" style="width:240px;" data-options="label:'是否合放:'">
		 		<option value="否" selected="selected">否</option>
		 		<option value="是">是</option>
		   	</select>
		 	<input class="easyui-textbox easyui-validatebox" name="ztLen" value="0" style="width:240px;" data-options="label:'本地网长度:'" />
		 	<input class="easyui-textbox easyui-validatebox" name="dlLen" value="0"  style="width:240px;" data-options="label:'电力长度:'" />
		 </div>
		  
		  <div style="margin-bottom:20px">
		    <input class="easyui-textbox easyui-validatebox" disabled="disabled"   name="url" style="width:240px;" data-options="label:'云链接:'" />
		  	<input class="easyui-textbox easyui-validatebox" name="remark" multiline="true" style="width:240px;height:40px;" data-options="label:'备注:',required:false,validType:'length[0,500]'" />
		 </div>
		 
		 <div style="margin-bottom:20px">
		 	<input class="easyui-layuiupload" name="attachment" style="width:850px;" data-options="label:'附件:',upload:{auto:false,height:150}" />
		 </div>
		</form>
	</div>
</body>
</html>